package com.lyf.design.learn.designmodel.observer.test;

/**
 * @AUTHOR LYF
 * @DATE 2022/6/10
 * @VERSION 1.0
 * @DESC
 */
public class Observer1 extends Observer{
    @Override
    void resp(String msg) {
        System.out.println("Observer1 "+name+" has know:"+msg);
        // Handle...

    }


}
